<?
	require_once('config.php');
	include_once('../sidebar.php');
?>
<div id="main">

	<h2>Please Login</h2>
<?
	if($_POST['retry'] == "true") {
?>
	<p class="alert">Login was incorrect. Please try again.</p>
<?		
	}
?>
	<p>
		<form method="post" action="<? echo admin_folder; ?>" name="login" id="login">
		
			<label for="username">Username</label><input type="text" name="username"></input><br />
		
			<label for="password">Password</label><input type="password" name="password"></input><br />
		
			<label for="remember_login">Stay Logged In?</label><input type="checkbox" name="remember" class="checkbox"></input><br />
		
			<input type="hidden" name="login" value="login"></input>
			<input type="hidden" name="retry" value="true"></input>
		
			<input type="submit" value="Login" class="submit" onclick="document.getElementById('submit').value = 'Logging In'"></input>
		
		</form>
	
	</p>
	
	<br class="clear" />
	
</div>